/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import play.db.jpa.Model;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import java.util.Date;
import java.util.List;

/**
 * @author igorov
 */
@Entity(name = "presentation")
public class Presentation extends Model {

    @ManyToOne
    public Event event;

    @OneToMany(mappedBy = "presentation")
    List<PresentationInscription> presentationInscriptions;

    //    public AuditoriumEvent auditoriumEvent;
    @ManyToOne
    public Auditorium auditorium;

    @ManyToOne
    public Turn turn;

    public String name;

    public String description;

    public Date dateBegin;

    public Date dateEnd;

}